<template>
  <div></div>
</template>

<script>
import { utilJs } from "@/utils/common.js";
export default {
  // 定制刀法平台分享中转页
  name: "Transfer",
  components: {
  },
  props: [],
  data() {
    return {
      url: ''
    };
  },
  created() {
  },
  watch: {
  },
  activated() {
  },
  deactivated() {
  },
  mounted() {
    setDocumentTitle("刀法课程");// eslint-disable-line
    this.url = this.$route.query.link ? decodeURIComponent(this.$route.query.link) : '';
    if (this.url) {
      this.url = `${this.url}${JSON.stringify(utilJs.getQueryObject(this.url)) === '{}' ? '?' : '&'}companyToken=${localStorage.getItem("token")}`;
      utilJs.locationHref(this.url)
    }
  },
  computed: {
  },
  methods: {
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->

<style scoped>
</style>
